package com.bincloud.vue.admin.web.util.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description:
 * @Author: bincloud, mvpzhou
 * @Date: Create By bincloud, mvpzhou on 2022/2/15
 */
@Configuration
@ConfigurationProperties(prefix = "vue.admin.ums.user")
@Data
public class UmsUserConfig {
    /**
     * 用户密码最大错误次数
     */
    private int passwordMaxRetryCount = 3;
    /**
     * 用户密码最大错误次数后锁定时间
     */
    private long passwordLockTime = 30;
    /**
     * 用户默认密码
     */
    private String passwordDefault = "vueAdmin_2022";
    /**
     * 用户过期时间
     */
    private long accountExpire = 90;
    /**
     * 密码过期时间
     */
    private long credentialsExpire = 30;
    /**
     * 密码验证类型
     */
    private int passwordValidateType = 3;
    /**
     * 用户默认头像
     */
    private String avatar = "V";


}
